Fixed GtkWrapBox to allocate variable row AND column heights when in ALIGNED mode
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 13 Sep 2010 17:28:23 +0000 (02:28 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 13 Sep 2010 17:32:36 +0000 (02:32 +0900)
commit153bfacde0d9c7a533c0936f3078db58cf672aac
tree1c2464ad5ce1156eee44dcbf207b4e197cc675e4
parent96c3858b21d1e55ead98f2eeaecd11c1f7af1488
Fixed GtkWrapBox to allocate variable row AND column heights when in ALIGNED mode

With this new approach at request and allocate time, the average child size
is used to determine a good guess at how many columns will fit the box
width; afterwards extra columns are appended and checked to fit.
Then the row heights are calculated based on height-for-width of each
child in the row which now may have individual widths.
gtk/gtkwrapbox.c